// 获取最新的日报
exports.getStoriesLatest = () => {

  return fetch(`https://news-at.zhihu.com/api/4/news/latest`)
    .then( response => response.json());
}

// 获取详细日报
exports.getStoryDetail = id => {

  return fetch(`https://news-at.zhihu.com/api/4/news/${id}`)
    .then( response => response.json());
}